<ng-content></ng-content>
<nt-overlay
  trigger="hover" overlayClass="tootip-overlay" arrow
  [origin]="origin"
  [position]="position"
  (afterOpen)="_afterOpen($event)"
  (afterClosed)="_afterClosed($event)"
  (beforeOpen)="_beforeOpen($event)"
  (beforeClosed)="_beforeClosed($event)"
  (positionChange)="_positionChange($event)">
  <div class="tooltip" *ngIf="template">
    <ng-container *ngTemplateOutlet="template"></ng-container>
  </div>
  <div class="tooltip" *ngIf="!template" [innerHtml]="title"></div>
</nt-overlay>
